package com.tuozixuan.flink.demo;

public class SensorReading {

	private String id;
	
	private long timestamp;
	
	private double temperature;

	public SensorReading() {
	}

	public SensorReading(String id, long timestamp, double temperature) {
		this.id = id;
		this.timestamp = timestamp;
		this.temperature = temperature;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}

	public double getTemperature() {
		return temperature;
	}

	public void setTemperature(double temperature) {
		this.temperature = temperature;
	}

	public String toString() {
		return "(" + this.id + ", " + this.timestamp + ", " + this.temperature + ")";
	}
}
